<?php

namespace Acme\EventBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * @ORM\Entity
 * @ORM\Table(name="information")
 * @ORM\Entity(repositoryClass="Acme\EventBundle\Entity\InformationRepository")
 */
class Information {
	/**
	 * @ORM\Column(type="integer")
	 * @ORM\Id
	 * @ORM\GeneratedValue(strategy="AUTO")
	 */
	protected $id;
	
	/**
	 * @ORM\OneToMany(targetEntity="Inscription", mappedBy="information")
	 */
	protected $inscriptions;
	
	/**
	 * @ORM\Column(type="integer")
	 */
	protected $user_id;
	
	/**
	 * @ORM\ManyToOne(targetEntity="\Acme\UserBundle\Entity\User",inversedBy="informations")
	 * @ORM\JoinColumn(name="user_id", referencedColumnName="id")
	 */
	protected $user;
	
	/**
	 * @ORM\Column(type="integer")
	 */
	protected $aperolocation_id;
	
	/**
	 * @ORM\ManyToOne(targetEntity="Aperolocation",inversedBy="informations")
	 * @ORM\JoinColumn(name="aperolocation_id", referencedColumnName="id")
	 */
	protected $aperolocation;
	
	/**
	 * @ORM\Column(type="datetime")
	 */
	protected $datum;
	
	/**
	 * @ORM\Column(type="string", length=255)
	 */
	protected $location;
	
	/**
	 * @ORM\Column(type="string", length=255)
	 */
	protected $street;
	
	/**
	 * @ORM\Column(type="string", length=100)
	 */
	protected $postcode;
	
	/**
	 * @ORM\Column(type="string", length=100)
	 */
	protected $city;
	
	/**
	 * @ORM\Column(type="string", length=100)
	 */
	protected $email;
	
	/**
	 * @ORM\Column(type="string", length=100)
	 */
	protected $telefon;
	
	/**
	 * @ORM\Column(type="text")
	 */
	protected $description;
	
	/**
	 * @ORM\Column(type="string", length=255)
	 */
	protected $website;
	
	/**
	 * @ORM\Column(type="string", length=255)
	 */
	protected $googlesite;
	
	/**
	 * @ORM\Column(type="datetime")
	 */
	protected $datum_send;
	
	/**
	 * @ORM\Column(type="boolean", options={"default":0})
	 */
	protected $is_send;
	
	/**
	 * @ORM\Column(type="boolean", options={"default":0})
	 */
	protected $user_is_informed;
	
	/**
	 * @ORM\Column(type="datetime")
	 */
	protected $datum_send_execute;
	
	/**
	 * @ORM\Column(type="integer", options={"default":0})
	 */
	protected $actuell_information;
	
	/**
	 * @ORM\OneToMany(targetEntity="Statisticresult", mappedBy="information")
	 */
	protected $statisticresults;
	
	/**
	 * Constructor
	 */
	public function __construct() {
		$this->inscriptions = new \Doctrine\Common\Collections\ArrayCollection ();
	}
	
	/**
	 * Get id
	 *
	 * @return integer
	 */
	public function getId() {
		return $this->id;
	}
	
	/**
	 * Set user
	 *
	 * @param integer $user        	
	 * @return Information
	 */
	public function setUser($user) {
		$this->user = $user;
		
		return $this;
	}
	
	/**
	 * Get user
	 *
	 * @return integer
	 */
	public function getUser() {
		return $this->user;
	}
	
	/**
	 * Set datum
	 *
	 * @param \DateTime $datum        	
	 * @return Information
	 */
	public function setDatum($datum) {
		$this->datum = $datum;
		
		return $this;
	}
	
	/**
	 * Get datum
	 *
	 * @return \DateTime
	 */
	public function getDatum() {
		return $this->datum;
	}
	
	/**
	 * Set street
	 *
	 * @param string $street        	
	 * @return Information
	 */
	public function setStreet($street) {
		$this->street = $street;
		
		return $this;
	}
	
	/**
	 * Get street
	 *
	 * @return string
	 */
	public function getStreet() {
		return $this->street;
	}
	
	/**
	 * Set postcode
	 *
	 * @param string $postcode        	
	 * @return Information
	 */
	public function setPostcode($postcode) {
		$this->postcode = $postcode;
		
		return $this;
	}
	
	/**
	 * Get postcode
	 *
	 * @return string
	 */
	public function getPostcode() {
		return $this->postcode;
	}
	
	/**
	 * Set city
	 *
	 * @param string $city        	
	 * @return Information
	 */
	public function setCity($city) {
		$this->city = $city;
		
		return $this;
	}
	
	/**
	 * Get city
	 *
	 * @return string
	 */
	public function getCity() {
		return $this->city;
	}
	
	/**
	 * Set email
	 *
	 * @param string $email        	
	 * @return Information
	 */
	public function setEmail($email) {
		$this->email = $email;
		
		return $this;
	}
	
	/**
	 * Get email
	 *
	 * @return string
	 */
	public function getEmail() {
		return $this->email;
	}
	
	/**
	 * Set telefon
	 *
	 * @param string $telefon        	
	 * @return Information
	 */
	public function setTelefon($telefon) {
		$this->telefon = $telefon;
		
		return $this;
	}
	
	/**
	 * Get telefon
	 *
	 * @return string
	 */
	public function getTelefon() {
		return $this->telefon;
	}
	
	/**
	 * Set description
	 *
	 * @param string $description        	
	 * @return Information
	 */
	public function setDescription($description) {
		$this->description = $description;
		
		return $this;
	}
	
	/**
	 * Get description
	 *
	 * @return string
	 */
	public function getDescription() {
		return $this->description;
	}
	
	/**
	 * Set website
	 *
	 * @param string $website        	
	 * @return Information
	 */
	public function setWebsite($website) {
		$this->website = $website;
		
		return $this;
	}
	
	/**
	 * Get website
	 *
	 * @return string
	 */
	public function getWebsite() {
		return $this->website;
	}
	
	/**
	 * Set googlesite
	 *
	 * @param string $googlesite        	
	 * @return Information
	 */
	public function setGooglesite($googlesite) {
		$this->googlesite = $googlesite;
		
		return $this;
	}
	
	/**
	 * Get googlesite
	 *
	 * @return string
	 */
	public function getGooglesite() {
		return $this->googlesite;
	}
	
	/**
	 * Set datum_send
	 *
	 * @param \DateTime $datumSend        	
	 * @return Information
	 */
	public function setDatumSend($datumSend) {
		$this->datum_send = $datumSend;
		
		return $this;
	}
	
	/**
	 * Get datum_send
	 *
	 * @return \DateTime
	 */
	public function getDatumSend() {
		return $this->datum_send;
	}
	
	/**
	 * Set is_send
	 *
	 * @param boolean $isSend        	
	 * @return Information
	 */
	public function setIsSend($isSend) {
		$this->is_send = $isSend;
		
		return $this;
	}
	
	/**
	 * Get is_send
	 *
	 * @return boolean
	 */
	public function getIsSend() {
		return $this->is_send;
	}
	
	/**
	 * Add inscriptions
	 *
	 * @param \Acme\EventBundle\Entity\Inscription $inscriptions        	
	 * @return Information
	 */
	public function addInscription(\Acme\EventBundle\Entity\Inscription $inscriptions) {
		$this->inscriptions [] = $inscriptions;
		
		return $this;
	}
	
	/**
	 * Remove inscriptions
	 *
	 * @param \Acme\EventBundle\Entity\Inscription $inscriptions        	
	 */
	public function removeInscription(\Acme\EventBundle\Entity\Inscription $inscriptions) {
		$this->inscriptions->removeElement ( $inscriptions );
	}
	
	/**
	 * Get inscriptions
	 *
	 * @return \Doctrine\Common\Collections\Collection
	 */
	public function getInscriptions() {
		return $this->inscriptions;
	}
	
	/**
	 * Set aperolocation
	 *
	 * @param integer $aperolocation        	
	 * @return Information
	 */
	public function setAperolocation($aperolocation) {
		$this->aperolocation = $aperolocation;
		
		return $this;
	}
	
	/**
	 * Get aperolocation
	 *
	 * @return integer
	 */
	public function getAperolocation() {
		return $this->aperolocation;
	}
	
	/**
	 * Set user_is_informed
	 *
	 * @param boolean $userIsInformed        	
	 * @return Information
	 */
	public function setUserIsInformed($userIsInformed) {
		$this->user_is_informed = $userIsInformed;
		
		return $this;
	}
	
	/**
	 * Get user_is_informed
	 *
	 * @return boolean
	 */
	public function getUserIsInformed() {
		return $this->user_is_informed;
	}
	
	/**
	 * Set datum_send_execute
	 *
	 * @param \DateTime $datumSendExecute        	
	 * @return Information
	 */
	public function setDatumSendExecute($datumSendExecute) {
		$this->datum_send_execute = $datumSendExecute;
		
		return $this;
	}
	
	/**
	 * Get datum_send_execute
	 *
	 * @return \DateTime
	 */
	public function getDatumSendExecute() {
		return $this->datum_send_execute;
	}
	
	/**
	 * Set actuell_information
	 *
	 * @param integer $actuellInformation        	
	 * @return Information
	 */
	public function setActuellInformation($actuellInformation) {
		$this->actuell_information = $actuellInformation;
		
		return $this;
	}
	
	/**
	 * Get actuell_information
	 *
	 * @return integer
	 */
	public function getActuellInformation() {
		return $this->actuell_information;
	}
	
	/**
	 * Set user_id
	 *
	 * @param integer $userId        	
	 * @return Information
	 */
	public function setUserId($userId) {
		$this->user_id = $userId;
		
		return $this;
	}
	
	/**
	 * Get user_id
	 *
	 * @return integer
	 */
	public function getUserId() {
		return $this->user_id;
	}
	
	/**
	 * Set aperolocation_id
	 *
	 * @param integer $aperolocationId        	
	 * @return Information
	 */
	public function setAperolocationId($aperolocationId) {
		$this->aperolocation_id = $aperolocationId;
		
		return $this;
	}
	
	/**
	 * Get aperolocation_id
	 *
	 * @return integer
	 */
	public function getAperolocationId() {
		return $this->aperolocation_id;
	}
	
	/**
	 * Set location
	 *
	 * @param string $location        	
	 * @return Information
	 */
	public function setLocation($location) {
		$this->location = $location;
		
		return $this;
	}
	
	/**
	 * Get location
	 *
	 * @return string
	 */
	public function getLocation() {
		return $this->location;
	}
	
	/**
	 * Add statisticresults
	 *
	 * @param \Acme\EventBundle\Entity\Statisticresult $statisticresults        	
	 * @return Information
	 */
	public function addStatisticresult(\Acme\EventBundle\Entity\Statisticresult $statisticresults) {
		$this->statisticresults [] = $statisticresults;
		
		return $this;
	}
	
	/**
	 * Remove statisticresults
	 *
	 * @param \Acme\EventBundle\Entity\Statisticresult $statisticresults        	
	 */
	public function removeStatisticresult(\Acme\EventBundle\Entity\Statisticresult $statisticresults) {
		$this->statisticresults->removeElement ( $statisticresults );
	}
	
	/**
	 * Get statisticresults
	 *
	 * @return \Doctrine\Common\Collections\Collection
	 */
	public function getStatisticresults() {
		return $this->statisticresults;
	}
}